import { useNavigate } from "react-router-dom"

export default function About () {
  const navigate = useNavigate()
  const toPath = () => {
    navigate('/microapp/vue2app/about?token=qwrwfdsafewrwfasfewqr')
  }
  
  return (
    <div>
      <h3>about</h3>
      前往子应用vue2App的about页面并携带参数
      <button onClick={toPath}>前往</button>
    </div>
  )
}